package com.example.ticket.demo.ticket;

public class TicketSaleThread implements Runnable {

	private String salerName;// 售票员姓名
	
	public TicketSaleThread(String salerName) {
		this.salerName = salerName;
	}
	
	@Override
	public void run() {
		TicketSaleManager ticketSaleManager = new TicketSaleManager();
		//ticketSaleManager.sale(salerName);
		ticketSaleManager.sale2(salerName);
	}

}
